package com.classicmodels.controller;

import com.classicmodels.model.Customer;
import com.classicmodels.model.CustomerDAO;
import com.classicmodels.view.CustomersList;
import java.sql.SQLException;

public class CustomerController {


     public void show_customers() throws SQLException, ClassNotFoundException{

     Customer[] customers = CustomerDAO.all();
     

     CustomersList customersList = new CustomersList(customers);
     customersList.setVisible(true);

    }



}
